<?php
if (!(defined('IN_DISCUZ'))) {
    exit('Access Denied');
}

class hotspot {
    function __construct($msg) {
        hotspot($msg);
    }

    function run() {

        $file1 = fopen("/data/crawl/crawl_baidu.txt", "r");
        $ret = array();

        while (!feof($file1)) {
            $eachline = fgets($file1);
            $everyElement = explode(" ", $eachline);
            array_push($ret, $everyElement);
        }

        return $ret;

    }
}


